-
Home
-
Directorist: AI-Powered Business Directory Plugin with Classified Ads Listings
-
8.0.2
-
Code
-
Classes
- Listings_Controller
Total Complexity |
134 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
1,499 |
Lines of code |
1,206 |
Logical lines of code |
385 |
Comment lines |
184 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_listing_data() |
D |
25 |
49 |
144 |
prepare_objects_query() |
D |
21 |
39 |
234 |
get_item_schema() |
C |
20 |
1 |
428 |
get_images() |
A |
45 |
9 |
41 |
get_collection_params() |
A |
34 |
1 |
126 |
get_items() |
S |
47 |
6 |
35 |
get_related_listings_ids() |
S |
44 |
5 |
44 |
get_listing_social_links() |
S |
57 |
6 |
17 |
get_item() |
S |
55 |
5 |
16 |
register_routes() |
S |
46 |
1 |
46 |
get_taxonomy_terms() |
S |
58 |
3 |
15 |
prepare_links() |
S |
58 |
2 |
16 |
get_listings() |
S |
57 |
2 |
16 |
prepare_item_for_response() |
S |
62 |
2 |
10 |
add_post_meta_fields() |
S |
82 |
1 |
3 |
get_orderby_possibles() |
S |
65 |
1 |
10 |
delete_post() |
S |
72 |
1 |
5 |